import request from '@/utils/request'

// 查询煤炭销售列表
export function listJlfhbd(query) {
  return request({
    url: '/sale/deliver/jlfhbd/list',
    method: 'get',
    params: query
  })
}

// 查询煤炭销售详细
export function getJlfhbd(jlFhbdoid) {
  return request({
    url: '/sale/deliver/jlfhbd/' + jlFhbdoid,
    method: 'get'
  })
}

// 新增煤炭销售
export function addJlfhbd(data) {
  return request({
    url: '/sale/deliver/jlfhbd',
    method: 'post',
    data: data
  })
}

// 修改煤炭销售
export function updateJlfhbd(data) {
  return request({
    url: '/sale/deliver/jlfhbd',
    method: 'put',
    data: data
  })
}

// 删除煤炭销售
export function delJlfhbd(jlFhbdoid) {
  return request({
    url: '/sale/deliver/jlfhbd/' + jlFhbdoid,
    method: 'delete'
  })
}
